<template>
  <footer class="footer">
    <div class="footer-content">
      <div class="footer-info">
        <h3>张艺创作品集</h3>
        <p>用镜头捕捉美好，用设计传递价值</p>
      </div>
      
      <div class="footer-links">
        <router-link to="/" class="footer-link">首页</router-link>
        <router-link to="/gallery" class="footer-link">作品</router-link>
        <router-link to="/resume" class="footer-link">简历</router-link>
        <router-link to="/contact" class="footer-link">联系</router-link>
      </div>
      
      <div class="footer-social">
        <a href="#" class="social-link">📘</a>
        <a href="#" class="social-link">📸</a>
        <a href="#" class="social-link">🎨</a>
        <a href="#" class="social-link">📧</a>
      </div>
    </div>
    
    <div class="footer-bottom">
      <p>&copy; <span v-text="new Date().getFullYear()"></span> 张艺创. 保留所有权利.</p>
    </div>
  </footer>
</template>

<script setup>
</script>

<style scoped>
.footer {
  background-color: #333;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #42b983;
}

.footer-info p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-link:hover {
  color: #42b983;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-link {
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #42b983;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 1rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-social {
    justify-content: center;
  }
}
</style>